package com.zhuoyue.biz.core.api.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.zhuoyue.biz.core.api.domain.base.BaseDoClass;

import java.io.Serializable;
import java.time.LocalDateTime;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
 * @author wjming
 * @ClassName: DeviceSswProperty
 * @Description: 双色温属性表
 * @Date 2021-07-08 13:17
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "`device_ssw_property`")
public class DeviceSswProperty extends BaseDoClass implements Serializable {
    /**
     * 设备mac
     */
    @TableField(value = "`zigbee_mac`")

    private String zigbeeMac;

    /**
     * 快捷名称
     */
    @TableField(value = "`name`")

    private String name;

    /**
     * 快捷模式
     */
    @TableField(value = "`mode`")

    private String mode;

    /**
     * 延时时间
     */
    @TableField(value = "`delay_time`")

    private Integer delayTime;

    /**
     * 持续时间
     */
    @TableField(value = "`duration`")

    private Integer duration;

    /**
     * 亮度
     */
    @TableField(value = "`brightness`")

    private Integer brightness;

    /**
     * 色温
     */
    @TableField(value = "`color_temperature`")

    private Integer colorTemperature;

    private static final long serialVersionUID = 1L;

    public static final String COL_ID = "id";

    public static final String COL_ZIGBEE_MAC = "zigbee_mac";

    public static final String COL_NAME = "name";

    public static final String COL_MODE = "mode";

    public static final String COL_DELAY_TIME = "delay_time";

    public static final String COL_DURATION = "duration";

    public static final String COL_BRIGHTNESS = "brightness";

    public static final String COL_COLOR_TEMPERATURE = "color_temperature";

    public static final String COL_CREATE_TIME = "create_time";

    public static final String COL_MODIFY_TIME = "modify_time";
}